package cn.uo86.mail.domain;

public class MailInfo {
	private Integer id;
	private String name;
	private String url;
	private Integer seq;
	private boolean isSelected;
	private boolean isMain;
	
	
	public MailInfo() {
		super();
	}
	
	public MailInfo(String name, String url, Integer seq, boolean isSelected,
			boolean isMain) {
		super();
		this.name = name;
		this.url = url;
		this.seq = seq;
		this.isSelected = isSelected;
		this.isMain = isMain;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}
	public boolean isSelected() {
		return isSelected;
	}
	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}
	public boolean isMain() {
		return isMain;
	}
	public void setMain(boolean isMain) {
		this.isMain = isMain;
	}

	@Override
	public String toString() {
		return "MailInfo [id=" + id + ", name=" + name + ", url=" + url
				+ ", seq=" + seq + ", isSelected=" + isSelected + ", isMain="
				+ isMain + "]";
	}

	
}
